package com.atguign.gulimall.product.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @program: gulimall
 * @description: 库存
 * @author: liuxvru
 * @create: 2024-02-19 17:30
 **/
@FeignClient(value = "gulimall-ware")
public interface WareFeifnService {
    @RequestMapping("/ware/waresku/hasstock")
    R getSkusHasStock(@RequestBody List<Long> skuIds);
}
